package cn.est.dao;

import cn.est.pojo.BrandClassifyRelation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BrandClassifyRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BrandClassifyRelation record);

    int insertSelective(BrandClassifyRelation record);

    BrandClassifyRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BrandClassifyRelation record);

    int updateByPrimaryKey(BrandClassifyRelation record);

    /**
     * 根据类别Id查询品牌Id
     * @param classifyId
     * @return
     */
    List<BrandClassifyRelation> listBrandClassifyRelationByClassifyId(Long classifyId);
}